package cc.mrbird.system.domain;

import java.io.Serializable;
import java.util.List;

public class ChartsModel implements Serializable {
    private List<String> legend;  //对应于图表的legend的data数组
    private List<String> category;  //对应于图表的category的data数组（就是x轴）
    private List<SeriesModel> seriesModels;  //图表的series属性是一个对象数组，额外设置一个series类

    public ChartsModel() {
    }

    public ChartsModel(List<String> legend, List<String> category, List<SeriesModel> seriesModels) {
        this.legend = legend;
        this.category = category;
        this.seriesModels = seriesModels;
    }

    public List<String> getLegend() {
        return legend;
    }

    public void setLegend(List<String> legend) {
        this.legend = legend;
    }

    public List<String> getCategory() {
        return category;
    }

    public void setCategory(List<String> category) {
        this.category = category;
    }

    public List<SeriesModel> getSeriesModels() {
        return seriesModels;
    }

    public void setSeriesModels(List<SeriesModel> seriesModels) {
        this.seriesModels = seriesModels;
    }
}
